#pragma once

#include "ui_SettingBar.h"
#include <QWidget>

class SettingBarButton;

class SettingBar : public QWidget {
	Q_OBJECT

public:
	SettingBar(QWidget* parent=nullptr);
	~SettingBar();

signals:
	void changeMain(QString windowName);
	void record();
	void stopRecord();
	void screenWindow(int index);
	void stopScreen();

protected slots:
	void selectConnectButtonOnClick();
	void selectShowWindowButtonOnClick();
	void recordingButtonOnClick();
	void stopButtonOnClick();
	void screenButtonOnClick();

private:
	Ui::SettingBar m_ui;

	SettingBarButton* m_selectConnectButton = nullptr;
	SettingBarButton* m_selectShowWindowButton = nullptr;
	SettingBarButton* m_screenButton = nullptr;
	SettingBarButton* m_recordingButton = nullptr;
	SettingBarButton* m_stopButton = nullptr;
};
